package com.example.service;

import com.example.bean.UserInfoBean;
import org.springframework.stereotype.Component;

@Component("loginSevice")
public class LoginService {
    public boolean doLogin(UserInfoBean userInfoBean){
        System.out.println("登录成功："+userInfoBean.getUserName());
        return true;
    }
}
